/*
 This file is part of ParagliderDesk.
 Copyright (C) 2009 Benjamin Loulier 
 
 ParagliderDesk is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.
 
 ParagliderDesk is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with ParagliderDesk.  If not, see <http://www.gnu.org/licenses/>.
 
 File: paragliderDeckAppDelegate.m
 */

#import "paragliderDeckAppDelegate.h"
#import "InstrumentViewController.h"

@implementation paragliderDeckAppDelegate

@synthesize window;
@synthesize tabBarController, instrumentViewController;

//Function called when the application finished lauching
- (void)applicationDidFinishLaunching:(UIApplication *)application {
	//Adds the main view in the window
	[window addSubview:tabBarController.view];
	//instrumentViewController = [[InstrumentViewController alloc] initWithNibName:@"InstrumentView" bundle:[NSBundle mainBundle]];
	//[window addSubview:instrumentViewController.view];
    // Override point for customization after application launch
    [window makeKeyAndVisible];
}

- (void)dealloc {
	[tabBarController release];
    [window release];
    [super dealloc];
}


@end
